package com.atguigu.pojo;

public class NginxServiceConfigTcpProxy {
    public String id;
    public String serverId;
    public String serviceId;
    public String frontDomain;
    public String frontPort;
    public String endAddress;
    public String endPort;
    public String use;

    public NginxServiceConfigTcpProxy() {
    }

    public NginxServiceConfigTcpProxy(String id, String serverId, String serviceId, String frontDomain, String frontPort, String endAddress, String endPort, String use) {
        this.id = id;
        this.serverId = serverId;
        this.serviceId = serviceId;
        this.frontDomain = frontDomain;
        this.frontPort = frontPort;
        this.endAddress = endAddress;
        this.endPort = endPort;
        this.use = use;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getServerId() {
        return serverId;
    }

    public void setServerId(String serverId) {
        this.serverId = serverId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getFrontDomain() {
        return frontDomain;
    }

    public void setFrontDomain(String frontDomain) {
        this.frontDomain = frontDomain;
    }

    public String getFrontPort() {
        return frontPort;
    }

    public void setFrontPort(String frontPort) {
        this.frontPort = frontPort;
    }

    public String getEndAddress() {
        return endAddress;
    }

    public void setEndAddress(String endAddress) {
        this.endAddress = endAddress;
    }

    public String getEndPort() {
        return endPort;
    }

    public void setEndPort(String endPort) {
        this.endPort = endPort;
    }

    public String getUse() {
        return use;
    }

    public void setUse(String use) {
        this.use = use;
    }

    @Override
    public String toString() {
        return "NginxServiceConfigTcpProxy{" +
                "id='" + id + '\'' +
                ", serverId='" + serverId + '\'' +
                ", serviceId='" + serviceId + '\'' +
                ", frontDomain='" + frontDomain + '\'' +
                ", frontPort='" + frontPort + '\'' +
                ", endAddress='" + endAddress + '\'' +
                ", endPort='" + endPort + '\'' +
                ", use='" + use + '\'' +
                '}';
    }
}
